
{include file="common/top"}

<div id="page-wrapper">
    <div id="page-inner">
        <div class="row">
            <div class="col-md-12">
                <h1 class="page-head-line">管理员列表</h1>
                <h1 class="page-subhead-line"></h1>

            </div>
        </div>
        <!-- /. ROW  -->
        <div class="row">
            <div class="col-md-6 col-sm-6 col-xs-12">
                <div class="panel panel-info">
                    <div class="panel-heading">
                        管理员管理
                    </div>
                    <div class="panel-body">
                <form action="/admin/add" method="post" id="form">
<!--                    {:token()}-->

                    <hr/>
<!--                    <h5>Enter Details to Login</h5>-->
                    <br/>
                    <div class="form-group input-group">
                        <span class="input-group-addon"><i class="fa fa-tag"></i></span>
                        <input type="text" class="form-control" name="user_name" placeholder="注册账号"  datatype="s4-10" />
                    </div>
                    <div class="form-group input-group">
                        <span class="input-group-addon"><i class="fa fa-lock"></i></span>
                        <input type="password" class="form-control" name="password" placeholder="注册密码"  datatype="s6-8" />
                    </div>
                    <div class="form-group input-group">
                        <span class="input-group-addon"><i class="fa fa-lock"></i></span>
                        <select class="form-control" name="type">
                            <option   value ="1">超级管理员</option>
                            <option   value ="2">普通管理员</option>
                        </select>
                    </div>
                    <div class="form-group input-group">
                        <span class="input-group-addon"><i class="fa fa-lock"></i></span>
                        <input type="text" class="form-control" name="realname" placeholder="真实姓名"    />
                    </div>

                    <a style="padding:30px;"><input type="submit" class="btn btn-primary" value="注册"></a>
                    <hr/>
<!--                    Not register ? <a href="index.html">click here </a> or go to <a href="index.html">Home</a>-->
                </form>
                    </div>
                </div>
            </div>
        </div>
        <!-- /. PAGE INNER  -->
    </div>


    <script type="text/javascript">
    $('#form').Validform({
        tiptype:4,
        ajaxPost:true,
        callback:function(res){
            // if(res.status=='success'){
            //     layer.msg(res.msg,{icon:1});
            //     location.href='common';
            // }else{
            //     layer.msg(res.msg,{icon:2});
            // }
        }
    });

</script>

{include file="common/out"}
